package Tool;

import Javabean.Staff;

import java.util.ArrayList;

public class Init_SalaryRefresh {
    public static double salaryRefresh(ArrayList<Staff> staffs) {
        double SalarySum = 0;

        for(int i=0;i<staffs.size();i++){
            SalarySum += staffs.get(i).getSalary();
        }
        return SalarySum;
    }
}
